﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenApi.Configuration
{
	/// <summary>
	/// service配置集合。
	/// </summary>
	public class OpenApiServiceElementCollection : ConfigurationElementCollection
	{

		protected override ConfigurationElement CreateNewElement()
		{
			return new OpenApiServiceElement();
		}

		protected override object GetElementKey(ConfigurationElement element)
		{
			return ((OpenApiServiceElement)element).Name;
		}
	}
}
